package com.odianyun.hello.model.DTO;

import java.lang.String;
import java.lang.Integer;
import java.util.Date;
import javax.validation.constraints.Size;

import com.odianyun.db.mybatis.base.IBaseId;
import com.odianyun.project.base.IEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * SoType
 * @CreateDate 2021-08-06
 */
 @ApiModel("SoTypeDTO")
public class SoTypeDTO implements IEntity, IBaseId<Long> {
    @ApiModelProperty
    private Long id;
    /**
     * 订单类型编码
     */
    @Size(min = 0, max = 20, message = "订单类型编码输入不正确")
    @ApiModelProperty(name = "code", value="订单类型编码", example = "str", notes="最大长度：20")
    private String code;
    /**
     * 订单类型
     */
    @Size(min = 0, max = 50, message = "订单类型输入不正确")
    @ApiModelProperty(name = "name", value="订单类型", example = "str", notes="最大长度：50")
    private String name;
    /**
     * 字典aftersale_platform可发起售后平台1.仅后台2.前后台都可以
     */
    @ApiModelProperty(name = "after salePlatform", value="字典aftersale_platform可发起售后平台1.仅后台2.前后台都可以", example = "1", notes="最大长度：3")
    private Integer afterSalePlatform;
    /**
     * 字典after_sale_node可售后节点
     */
    @ApiModelProperty(name = "afterSaleNode", value="字典after_sale_node可售后节点", example = "1", notes="最大长度：3")
    private Integer afterSaleNode;
    /**
     * 可售后类型，多个类型逗号分隔
     */
    @Size(min = 0, max = 20, message = "可售后类型，多个类型逗号分隔输入不正确")
    @ApiModelProperty(name = "afterSaleType", value="可售后类型，多个类型逗号分隔", example = "str", notes="最大长度：20")
    private String afterSaleType;
    /**
     * 换货有效期
     */
    @ApiModelProperty(name = "changeExpiredDate", value="换货有效期", example = "2020-05-20", notes="最大长度：19")
    private Date changeExpiredDate;
    /**
     * 退货退款/仅退款已发货有效期
     */
    @ApiModelProperty(name = "refundExpiredDate", value="退货退款/仅退款已发货有效期", example = "2020-05-20", notes="最大长度：19")
    private Date refundExpiredDate;
    /**
     * 订单流程
     */
    @Size(min = 0, max = 50, message = "订单流程输入不正确")
    @ApiModelProperty(name = "orderFlow", value="订单流程", example = "str", notes="最大长度：50")
    private String orderFlow;
    /**
     * 是否可用:默认0否;1是
     */
    @ApiModelProperty(name = "isAvailable", value="是否可用:默认0否;1是", example = "1", notes="最大长度：3")
    private Integer isAvailable;

    @Override
    public void setId(Long id) {
        this.id = id;
    }
    @Override
    public Long getId() {
        return id;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getCode() {
        return code;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
    public void setAfterSalePlatform(Integer aftersalePlatform) {
        this.afterSalePlatform = aftersalePlatform;
    }
    public Integer getAfterSalePlatform() {
        return afterSalePlatform;
    }
    public void setAfterSaleNode(Integer afterSaleNode) {
        this.afterSaleNode = afterSaleNode;
    }
    public Integer getAfterSaleNode() {
        return afterSaleNode;
    }
    public void setAfterSaleType(String afterSaleType) {
        this.afterSaleType = afterSaleType;
    }
    public String getAfterSaleType() {
        return afterSaleType;
    }
    public void setChangeExpiredDate(Date changeExpiredDate) {
        this.changeExpiredDate = changeExpiredDate;
    }
    public Date getChangeExpiredDate() {
        return changeExpiredDate;
    }
    public void setRefundExpiredDate(Date refundExpiredDate) {
        this.refundExpiredDate = refundExpiredDate;
    }
    public Date getRefundExpiredDate() {
        return refundExpiredDate;
    }
    public void setOrderFlow(String orderFlow) {
        this.orderFlow = orderFlow;
    }
    public String getOrderFlow() {
        return orderFlow;
    }
    public void setIsAvailable(Integer isAvailable) {
        this.isAvailable = isAvailable;
    }
    public Integer getIsAvailable() {
        return isAvailable;
    }

	/*---------------------------------- extra info --------------------------------*/
}